home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 January
/
Chip_2004-01_cd1.bin
/
zkuste
/
sms
/
download
/
gate
/
sms213.exe
/
{app}
/
Defs
/
dcci_t.mls
< prev
next >
Wrap
Text File
|
2003-07-08
|
550b
|
27 lines
if $send_nick = 1
set pay_add = ((length "$nick") - 1)
set first = 154 - $pay_add
else
set pay_add = 0
set first = 154
endif
if $length <= (157 - $pay_add)
set first = ($first + 3)
endif
if $length <= $first
set msgnum = 1
set msgleft = ($first - $length)
set msgcount = $length
else
set msgnum = (($length - $first + 1) div 156) + 2
set msgleft = $first + (156 * ($msgnum - 1)) - $length
set msgcount = 156 - $msgleft
endif
set currency = "CZK"
if $length <> 0
set price = ($msgnum * 1.50)
endif